﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="mpost.SilverlightMultiFileUpload.App"
             >
    <Application.Resources>
        <local:UserMessages xmlns:local="clr-namespace:mpost.SilverlightMultiFileUpload.Classes" x:Key="UserMessages" />

        <Style x:Key="GridStyle" TargetType="Grid">
        </Style>

        <Style x:Key="BorderStyle" TargetType="Border">
        </Style>

        <Style x:Key="ImageButtonStyle" TargetType="Button">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid>
                            <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center">
                                <ContentPresenter.Content>
                                    <Image Source="{TemplateBinding Content}" ></Image>
                                </ContentPresenter.Content>
                            </ContentPresenter>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

    </Application.Resources>
</Application>
